package com.design.patterns.list.listener.event;

import java.util.EventObject;

/**
 * 事件对象
 * @author Wangzhiwen
 */
public abstract class WeatherEvent extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public WeatherEvent(Object source) {
        super(source);
    }

   public abstract String getWeather();
}
